package com.tiny.persistence.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

/**
 * 设备报修评价表
* @ClassName:  
* @Description: TODO 
* @author:  
* @date: 2014年3月24日
*
 */
@Entity
@Table(name="comment_repair")
@Data
public class CommentRepair {
    @Id
    @GeneratedValue(strategy=GenerationType.AUTO)
    private int id;
    
    //评价什么(默认设备报修评价)
    @Column(name="commneted_content")
    private String commnetedContent;
    
    //体验满意度 useSatisfaction
    @Column(name="use_sat")
    private int useSat;
    
    //客服满意度
    @Column(name="customer_service_sat")
    private int customerServiceSat;
    
    //评语
    @Column(name="comment")
    private String comment;
    
    //外键关联，报修表
    @Column(name="repair_id")
    private Integer repairId;
    
    //评价人id
    @Column(name="auth_user_id")
    private Integer authUserId;
    
    //评价人
    @Column(name="commenter_name")
    private String commenterName;
    
    //评价人手机号码
    @Column(name="mobile_phone")
    private String mobilePhone;
    
  //评价人所属公司
    @Column(name="comment_company")
    private String commentCompany;
    
    @Column(name="create_time")
    private Date createTime;
    
}
